.class public Lcom/jecelyin/editor/v2/c;
.super Ljava/lang/Object;
.source "ModeList.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/jecelyin/editor/v2/c$a;
    }
.end annotation


# static fields
.field private static a:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field public static b:[Lcom/jecelyin/editor/v2/c$a;


# direct methods
.method static constructor <clinit>()V
    .locals 14

    const/16 v0, 0x9

    new-array v1, v0, [Ljava/lang/String;

    const-string v2, "kotlin"

    const/4 v3, 0x0

    aput-object v2, v1, v3

    const-string v2, "kt"

    const/4 v4, 0x1

    aput-object v2, v1, v4

    const-string v2, "kts"

    const/4 v5, 0x2

    aput-object v2, v1, v5

    const-string v2, "markdown"

    const/4 v6, 0x3

    aput-object v2, v1, v6

    const-string v2, "md"

    const/4 v7, 0x4

    aput-object v2, v1, v7

    const-string v2, "matlab"

    const/4 v8, 0x5

    aput-object v2, v1, v8

    const-string v2, "smali"

    const/4 v9, 0x6

    aput-object v2, v1, v9

    const-string v2, "svg"

    const/4 v10, 0x7

    aput-object v2, v1, v10

    const-string v2, "swift"

    const/16 v11, 0x8

    aput-object v2, v1, v11

    .line 1
    invoke-static {v1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v1

    sput-object v1, Lcom/jecelyin/editor/v2/c;->a:Ljava/util/List;

    const/16 v1, 0x21

    new-array v1, v1, [Lcom/jecelyin/editor/v2/c$a;

    .line 2
    new-instance v2, Lcom/jecelyin/editor/v2/c$a;

    const-string v12, "C and C++"

    const-string v13, "ace/mode/c_cpp"

    invoke-direct {v2, v12, v13}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v2, v1, v3

    new-instance v2, Lcom/jecelyin/editor/v2/c$a;

    const-string v3, "C#"

    const-string v12, "ace/mode/csharp"

    invoke-direct {v2, v3, v12}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v2, v1, v4

    new-instance v2, Lcom/jecelyin/editor/v2/c$a;

    const-string v3, "CSS"

    const-string v12, "ace/mode/css"

    invoke-direct {v2, v3, v12}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v2, v1, v5

    new-instance v2, Lcom/jecelyin/editor/v2/c$a;

    const-string v3, "Go"

    const-string v5, "ace/mode/golang"

    invoke-direct {v2, v3, v5}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v2, v1, v6

    new-instance v2, Lcom/jecelyin/editor/v2/c$a;

    const-string v3, "Groovy"

    const-string v5, "ace/mode/groovy"

    invoke-direct {v2, v3, v5}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v2, v1, v7

    new-instance v2, Lcom/jecelyin/editor/v2/c$a;

    const-string v3, "haXe"

    const-string v5, "ace/mode/haxe"

    invoke-direct {v2, v3, v5}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v2, v1, v8

    new-instance v2, Lcom/jecelyin/editor/v2/c$a;

    const-string v3, "HTML"

    const-string v5, "ace/mode/html"

    invoke-direct {v2, v3, v5}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v2, v1, v9

    new-instance v2, Lcom/jecelyin/editor/v2/c$a;

    const-string v3, "HTML (Elixir)"

    const-string v5, "ace/mode/html_elixir"

    invoke-direct {v2, v3, v5}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v2, v1, v10

    new-instance v2, Lcom/jecelyin/editor/v2/c$a;

    const-string v3, "HTML (Ruby)"

    const-string v5, "ace/mode/html_ruby"

    invoke-direct {v2, v3, v5}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v2, v1, v11

    new-instance v2, Lcom/jecelyin/editor/v2/c$a;

    const-string v3, "INI"

    const-string v5, "ace/mode/ini"

    invoke-direct {v2, v3, v5}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v2, v1, v0

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "Java"

    const-string v3, "ace/mode/java"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0xa

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "JavaScript"

    const-string v3, "ace/mode/javascript"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0xb

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "JSON"

    const-string v3, "ace/mode/json"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0xc

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "JSP"

    const-string v3, "ace/mode/jsp"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0xd

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "Kotlin"

    const-string v3, "ace/mode/kotlin"

    invoke-direct {v0, v2, v3, v4}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;Z)V

    const/16 v2, 0xe

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "Makefile"

    const-string v3, "ace/mode/makefile"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0xf

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "Markdown"

    const-string v3, "ace/mode/markdown"

    invoke-direct {v0, v2, v3, v4}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;Z)V

    const/16 v2, 0x10

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "MATLAB"

    const-string v3, "ace/mode/matlab"

    invoke-direct {v0, v2, v3, v4}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;Z)V

    const/16 v2, 0x11

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "MySQL"

    const-string v3, "ace/mode/mysql"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0x12

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "Objective-C"

    const-string v3, "ace/mode/objectivec"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0x13

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "Pascal"

    const-string v3, "ace/mode/pascal"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0x14

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "Perl"

    const-string v3, "ace/mode/perl"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0x15

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "PHP"

    const-string v3, "ace/mode/php"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0x16

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "Python"

    const-string v3, "ace/mode/python"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0x17

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "Ruby"

    const-string v3, "ace/mode/ruby"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0x18

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "ShellScript"

    const-string v3, "ace/mode/shellscript"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0x19

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "Smali"

    const-string v3, "ace/mode/smali"

    invoke-direct {v0, v2, v3, v4}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;Z)V

    const/16 v2, 0x1a

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "SQL"

    const-string v3, "ace/mode/sql"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0x1b

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "SVG"

    const-string v3, "ace/mode/svg"

    invoke-direct {v0, v2, v3, v4}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;Z)V

    const/16 v2, 0x1c

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "Swift"

    const-string v3, "ace/mode/swift"

    invoke-direct {v0, v2, v3, v4}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;Z)V

    const/16 v2, 0x1d

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "Text"

    const-string v3, "ace/mode/text"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0x1e

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "VBScript"

    const-string v3, "ace/mode/vbscript"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0x1f

    aput-object v0, v1, v2

    new-instance v0, Lcom/jecelyin/editor/v2/c$a;

    const-string v2, "XML"

    const-string v3, "ace/mode/xml"

    invoke-direct {v0, v2, v3}, Lcom/jecelyin/editor/v2/c$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v2, 0x20

    aput-object v0, v1, v2

    sput-object v1, Lcom/jecelyin/editor/v2/c;->b:[Lcom/jecelyin/editor/v2/c$a;

    return-void
.end method

.method public static a(Ljava/lang/String;)Z
    .locals 1

    .line 1
    invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 p0, 0x0

    return p0

    .line 2
    :cond_0
    sget-object v0, Lcom/jecelyin/editor/v2/c;->a:Ljava/util/List;

    invoke-virtual {p0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object p0

    invoke-interface {v0, p0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result p0

    return p0
.end method
